<%--
  Created by IntelliJ IDEA.
  User: wlai
  Date: 6/12/14
  Time: 3:38 PM
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>用户登录</title>
</head>
<body>
<div class="container">
    <div class="col-md-4">
        <form action="j_spring_security_check" method="post">
            <div class="form-group">
                <label for="j_username">USERNAME:</label> <input type="text" class="form-control" id="j_username"
                                                                 name="j_username"
                                                                 value="${sessionScope['SPRING_SECURITY_LAST_USERNAME']}"/>
            </div>
            <div class="form-group">
                <label for="j_password">PASSWORD:</label> <input type="password" class="form-control" id="j_password"
                                                                 name="j_password" value=""/>
            </div>
            <div class="checkbox">
                <label><input type="checkbox" name="_spring_security_remember_me"/>两周之内不必登陆(这个功能没有做的)
                </label>
            </div>
            <button type="submit" class="btn btn-default">Submit</button>
        </form>
    </div>
</div>
</body>
</html>
